package com.ruoyi.bill.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 账套切换对象 default_account_set
 * 
 * @author 孙帆科
 * @date 2025-02-25
 */
@Data
@TableName("default_account_set")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class DefaultAccountSet
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 默认账套id */
    @Excel(name = "默认账套id")
    private Long accountSetId;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("accountSetId", getAccountSetId())
            .toString();
    }
}
